package com.example.demoMybatis;

import com.example.demoMybatis.domain.Student;
import com.example.demoMybatis.mapper.StudentMapper;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.boot.test.context.SpringBootTest;

import java.util.List;

@SpringBootTest
public class Test {
    @Autowired
    private StudentMapper studentMapper;

//    @Test
//    void testInsert() {
//        List<Student> users = studentMapper.selectList(null);
//        for (Student user : users) {
//            System.out.println(user.toString());
//        }
//    }
}
